import request from "@/util/request";
import {post} from "axios";

export default {

    search(page,pageSize,data){
        return request({
            url:`/employee/search/${page}/${pageSize}`,
            method:"post",
            data
        })
    },
    save(url,method,data){
        return request({
            url,
            method,
            data
        })
    },

    deleteemployee(ids){
        return request({
            url:`/employee/delete/${ids}`,
            method:"delete"
        })
    },
}
